XIQS SET Day Pass Parameters

From IQsimWiki

Jump to: navigation, search

XIQS SET Day Pass Parameters - Day Pass Management

Description
setXIQSDayPassParameters ( String sDevName, Long lPassDuration, Long lMaxData, Long lMaxLowSpeedData, Long lPassNumber, Long lExtraNumber, Long pass_maxcountrydata, Long pass_countrygroup )
Set Day pass parameters for the given mifi device.
Parameters
String sDevName - Mifi device name which parameters are to be set

Long lPassDuration - Day Pass validity time in days (0 means till end of current day (midnight of partition)

Long lMaxData - Total amount of kilobytes of internet data that the user can consume during a pass or an extra pass at full speed of the device (4G).

Long lMaxLowSpeedData - Total amount of kilobytes of internet data that the user can consume at a degraded speed (2G speed) till end of the pass

Long lPassNumber - Total number of passes purchased by the end user and still not consumed

Long lExtraNumber - Total number of extra passes purchased by the end user and still not consumed

Long pass_maxcountrydata - Total amount of kilobytes of internet data that the user can consume in specified countries

Long pass_countrygroup - Group id of countries with pass_maxcountrydata extra kilobytes

Return Values
Return Code
Integer: OK = 1

Error Data structure ( Error Management )

Possible failure code returns
*ERR_OBJ_NOT_FOUND(404) ERR_MSG_MF_NOT_FOUND
*ERR_SRV_INTERNAL (500) ERR_MSG_MF_DAYPASS_OFF
See Also

getXIQSDayPassInfo
addXIQSDayPass
setXIQSDayPass

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List